//
//  YDStaycheckCell.swift
//  YDOAProduct
//
//  Created by YDWY on 2017/5/29.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit

class YDStaycheckCell: UITableViewCell {

    var cellId : Int?
    var callbackWithID : ((_ styleId : Int, _ cellId: Int) -> Swift.Void)? = nil
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    ///审核通过
    @IBAction func btnclick(_ sender: Any) {
        if callbackWithID != nil {
            callbackWithID!(1,cellId!)
        }
        
    }
   
    //审核不通过
    @IBAction func btnclick1(_ sender: Any) {
        if callbackWithID != nil {
            callbackWithID!(0,cellId!)
        }
    }
}
